code generation using openai